package com.mk.settlement.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SettlementRelation implements Serializable{
    
    
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 结算方Id
     */
    private Long settlementTargetId;

    /**
     * 结算方名称
     */
    private String settlementTargetName;

    /**
     * 对应规则Id
     */
    private int settlementRuleId;

    /**
     * 阈值金额
     */
    private BigDecimal settlementThreshold;

    private Date createTime;

    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSettlementTargetId() {
        return settlementTargetId;
    }

    public void setSettlementTargetId(Long settlementTargetId) {
        this.settlementTargetId = settlementTargetId;
    }

    public String getSettlementTargetName() {
        return settlementTargetName;
    }

    public void setSettlementTargetName(String settlementTargetName) {
        this.settlementTargetName = settlementTargetName == null ? null : settlementTargetName.trim();
    }

    public int getSettlementRuleId() {
        return settlementRuleId;
    }

    public void setSettlementRuleId(int settlementRuleId) {
        this.settlementRuleId = settlementRuleId;
    }

    public BigDecimal getSettlementThreshold() {
        return settlementThreshold;
    }

    public void setSettlementThreshold(BigDecimal settlementThreshold) {
        this.settlementThreshold = settlementThreshold;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String toString() {
        
        return "id:" + id + ",settlementTargetId:" + settlementTargetId + ",settlementTargetName:" + settlementTargetName + ",settlementRuleId:" + settlementRuleId +
                ",settlementThreshold:" + settlementThreshold;
    }
}
